package com.deram.ctin.serv.system.api.impl;

import com.deram.ctin.serv.system.api.SystemTemplateApi;
import com.deram.ctin.serv.system.entity.SystemTemplate;
import com.deram.ctin.serv.system.service.SystemTemplateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class SystemTemplateApiImpl implements SystemTemplateApi {

    @Autowired
    private SystemTemplateService systemTemplateService;

    @Override
    public SystemTemplate find(Long id) {
        return systemTemplateService.find(id);
    }
}
